﻿@model InfoLogic.Models.Address

@{
    ViewBag.Title = "Address";
}

<h2>Address Details</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend></legend>

         <div class="editor-label">
            @*@Html.LabelFor(model => model.StreetName)*@
             City
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.City)
            @Html.ValidationMessageFor(model => model.City)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.StreetName)*@
            Street Name
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.StreetName)
            @Html.ValidationMessageFor(model => model.StreetName)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.HouseNumber)*@
            House Number
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.HouseNumber)
            @Html.ValidationMessageFor(model => model.HouseNumber)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>

        <p>
            @Html.ActionLink("Next Step", "Create", "Contact")
        </p>


    </fieldset>
}

@*<div>
    @Html.ActionLink("Back to List", "Index")
</div>*@

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
